package com.fly.springbootTemplate.dao;

import com.fly.springbootTemplate.entity.StudentCard;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface StudentCardDao {
    //增加学生卡
    boolean insertStudentCard(StudentCard studentCard);
    //删除学生卡
    boolean deleteStudentCard(Integer sno);
    //修改学生卡
    boolean updateStudentCard(StudentCard studentCard);
    //查询学生卡
    List<StudentCard> selectAllStudentCard();
    //根据sno查询学生卡
    StudentCard selectStudentCardBySno(Integer sno);
}
